package com.hanserwei.community.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serial;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 投诉类别字典表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("complaint_type")
@Schema(description = "投诉类别字典")
public class ComplaintType implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "主键")
    private Integer id;

    /** 类型名称 */
    @TableField("name")
    @Schema(description = "类型名称")
    private String name;

    /** 备注 */
    @TableField("remarks")
    @Schema(description = "备注")
    private String remarks;

    /** 状态：1-启用，0-停用 */
    @TableField("status")
    @Schema(description = "状态：1-启用，0-停用")
    private Integer status;
}
